package datastructures;

public class ROBEntry {

	boolean free;
	boolean flag;
	int data;
	int register;

	public ROBEntry(boolean f, int d, int r) {

		this.free = true;
		this.flag = f;
		this.data = d;
		this.register = r;

	}
	
	public ROBEntry(boolean f, int d, int r, boolean free) {

		this.free = free;
		this.flag = f;
		this.data = d;
		this.register = r;

	}

	

	public boolean isFlag() {
		return flag;
	}



	public void setFlag(boolean flag) {
		this.flag = flag;
	}



	public int getData() {
		return data;
	}



	public void setData(int data) {
		this.data = data;
	}



	public int getRegister() {
		return register;
	}



	public boolean isFree() {
		return free;
	}



	public void setFree(boolean free) {
		this.free = free;
	}

	
}
